import { ref, computed } from "vue";
import { defineStore } from "pinia";

export const useCollapseStore = defineStore("counter", () => {
  const collapse = ref(false);
  const getCollapse = computed(() => collapse.value);
  function changeCollapse() {
    collapse.value = !collapse.value
  }

  return { getCollapse, changeCollapse };
});
